package com.nanhua.test1.service;

import com.nanhua.test1.pojo.User;

public interface UserService {

    void register(String username, String password);

    User findByName(String username);

    void updateAvatar(String avatarUrl);

    void updatePwd(String rePwd);

    User findById(Integer id);
}
